<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <script>
    //插入排序
    //1.定义一个中间量为最大的值，假定它为最大
    //2.从右依次往左比较
    let arr=[1,3,4,5,6,7,8]
    let arr2=[9,10,]
    var max=arr[0]
    for(var i=0;i<arr.length-1;i++){
      for(var j=arr.length-1;j>0;j--){
        if
      }
    }
    
    
    
    </script>
</body>
</html>